﻿using AutoMapper;
using B.S.BasicData.Api.Write.Application.Command.Account;
using B.S.BasicData.Domain.Entities;

namespace B.S.BasicData.Api.Write
{
    /// <summary>
    /// AutoMaper的配置类
    /// </summary>
    public class AutoMapperProfile:Profile
    {
        public AutoMapperProfile() { 
            //
            CreateMap<CreateAccountCommand,AccountModel>().ReverseMap();
            CreateMap<UpdateAccountCommand, AccountModel>().ReverseMap();

        }
    }
}
